Fix primary key discovery
Merge pull request #18 from strongloop/feature/issue-17

Fix primary key discovery