Determining the datatype of a literal