get_variable function

Get name of variable for a specific element of list environment