uri_to_id should remove the base_path