Use id_to_uri on the passed in pid