[turbopack] Move static type ID variables into getters (#81150)
Simplify some of the static macro variables by moving them into their only callsites.
Delete dead `ident` factories
Just a tiny cleanup motivated by reading through the `registry` codegen and realizing that many of the `ident`s aren't needed.