Change IdUtils to use consistent ToLowerInvariant() when generating keys.