add ability to specify polymorphic id and type field names