Small fix to make non integer id fields work.
Merge pull request #7 from inaka/inaki.fix_noninteger_pk

Small fix to make non integer id fields work.