Added KeyMetadata.getIdFieldType()