constructor(identifier) {
        if (MenuId._instances.has(identifier)) {
            throw new TypeError(`MenuId with identifier '${identifier}' already exists. Use MenuId.for(ident) or a unique identifier`);
        }
        MenuId._instances.set(identifier, this);
        this.id = identifier;
    }
Create a new `MenuId` with the unique identifier. Will throw if a menu
with the identifier already exists, use `MenuId.for(ident)` or a unique
identifier