Resolve an insecure .to_sym call.