option to use uris instead of IDs to re-write path