Fix the integer id issue

This pull request will fix the issue that the record id need to be integer.
Will close https://github.com/open-city/dedupe/issues/141