Handle primitive data types properly when is used as the entity id data type