Return a data type from a string representing the type