iio: added function returning IIO device number by name