export class Identifier { constructor() { this.number = 1; } next() { return this.number++; } } export const identifier = new Identifier();