MYLOC-95 Validating location id string in preferred_location.set()