add ability to specify polymorphic id and type field names
Merge pull request #1 from sessa/master

add ability to specify polymorphic id and type field names