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 - 
- [ ] Tell why S10 works instead of S
- [x] Use the string approach instead of type passing
- [ ] Write a test for ids that ints and ids that are string