changed the parser for field references
added parsing suport for functions and both argument list and range list