Change uses of `id` to call `url()`, so url building will continue to work as expected when using a different idAttribute. Fixes #20