Centralize id-url trick. Fixes #211