public long Register(string name) { long id = 1 << _idToNameMap.Count; _idToNameMap[id] = name; return id; }