fixed bug in type for getId
Merge pull request #17 from freedomjs/iislucas-getidfix

fixed bug in type for getId