Factor out the URI to anchor tag conversion in the rdf_summary plugin.