Always use local IDs at the database level. Fixes #150.
Merge pull request #151 from surevine/issue-150

Always use local IDs at the database level. Fixes #150.