The primary key is not necessarily `id`

Use `pk` alias instead.
Merge pull request #8 from ticosax/unharcode-pk

The primary key is not necessarily `id`