Allow id_to_uri and uri_to_id to be overridden on a per class basis