Allow using custom primary keys on models.
Merge pull request #34 from kjagiello/master

Allow using custom primary keys on models.