endIdIfNeeded(t = "") {
    let s = t;
    return t === Bt && (this.startEndCount++, s = `${Gt}${this.startEndCount}`), s;
  }
If the id is an end node ( [*] ), then return a new id constructed from
the end node name and the current start_end node count.
else return the given id

@param {string} id
@returns {string} - the id (original or constructed)
@private