layer error reporting for function calls
change error reporting to easily filter duplicate messages
wrap identifier in single quotes in expression error msg