Pretty much as it sounds. I can get the string name of the location by passing to_string($location[yourmum]), but is there a function to get the ID? to_int() doesn't do it.