pub fn resource_id_from_url(url: &Url) -> String