Added sensible defaults for keyForPolymorphicId and keyForPolymorphicType
Merge pull request #965 from ssured/master

Add sensible defaults for polymorphic keys