primary key mapping isn't always 'id'.
typo
Merge pull request #16 from bakavic/fix-for-alt-primarykey

Fix for alternative primary keys