Updated URIGenerator - law reference parsing