Fix: Db primary key

If primary key is not ID?
In ORM class it is possible to change name of primary key.
Merge pull request #60 from dickcy/patch-5

Fix: Db primary key