able to get the type (numeric or nominal) of an attribute