Ensuring that location id's are a string