index_l function

Construct a lens into an index/name