Stringify ids.

Fixes #39.
Merge pull request #54 from oriolgual/master

Stringify ids.