Use integers and primary keys
Merge pull request #1 from pnorman/patch-1

Use integers and primary keys