Don't assume primary key is 'id'

Some models might be different
Merge pull request #10 from dockyard/bc-dont-assume-primary-key-value

Don't assume primary key is 'id'