formatIdNormalize

private fnstring formatIdNormalize(string s) pure @safe

Normalize a formatId for use as a registry key (lowercase).

Performance: Returns the input string unchanged if already lowercase, avoiding allocation for the common case.