s3: string_to_sid does thorough syntax checking