Fixed bug involving lambda arguments in hints

using a variable for a lambda argument should record the identifier used
in the actual code for that argument. Then when the variable is used
inside of the lambda it should map to the identifier of the argument
rather than any expression.