code: public String consumeTagName() {
          int start = pos;
          while (!isEmpty() && (matchesWord() || matchesAny(':', '_', '-')))
              pos++;
          
          return queue.substring(start, pos);
      }
docs: Consume an tag name off the queue (word or :, _, -)
  
  @return tag name