By using arrays, do loop, vname function, leave statement, one can find a variable name for the first occurrence of particular value in a row.