Fix intger Id Issue - Allow any id type

This pull request will fix the issue that the record id need to be Integer.
Will close #141
Following task are left - 
- [x] Tell why S10 works instead of str
- [x] Use the string approach instead of type passing
- [x] Write a test for ids that ints and ids that are string