Only allow alphanumeric characters as location and device id's