code: function getGitlabId (text) {
    text = basicGithubId(text)
    text = text
      .replace(emojiRegex(), '')  // Strip emojis
      .replace(/-+/g, '-')        // duplicated hyphen
    return text
  }
docs: getGitlabId - anchors used at gitlab.com
  @private
  @see: https://github.com/gitlabhq/gitlabhq/blob/master/doc/user/markdown.md#header-ids-and-links
  If no repetition, or if the repetition is 0 then ignore. Otherwise append '-' and the number.