IRMapType shouldn't return a value on a ARRAY_OP or FUNCTION_OP names.

Added test for the function lookup and also a test for normal name
lookup that should then be of the Maps type