parser: determine code in parser instead of translator

moved reference enumeration from translator to main header
added reference argument to parser function operator and get identifier
added setting of code for all identifiers in get identifier
added setting of reference flag to get identifier
(except for variables, which are set to variable reference code)
removed setting defined function codes in translator get operand
removed setting reference flag for parentheses tokens
removed setting code in translator process parentheses token