Add support for custom ids

Close #70
Merge pull request #74 from jrschumacher/support-custom-id

Add support for custom ids