Add the addIds() method.
Allow resolve() to catch complex ID.

Example: hoa://Library/Registry#foo/bar.