TEIIDDES-1669 resolves issue with missing datatype for functions

fixes problem with getElementSymbolType method - was not getting the type for all IExpression possibilities