add support for id(type) structured urls