Fix #199: fix UriHelper to return a tagged id