Remove annotations from names used in URIs.