Stringify ids.

Fixes #39.