NameTable.intern

uint intern(scope const(char)[] name, ref Arena arena, uint first) @nogc nothrow pure @safe

Id of name, adding it if needed. It returns 0 if out of memory.