code: function maybe_name() {
    skip_horiz_white();
    if (look(ident_pattern_with_dot)) {
      current_tag["name"] = match(ident_pattern_with_dot);
    }
    else if (look(ident_pattern)) {
      current_tag["name"] = match(ident_pattern);
    }
  }
docs: matches identifier name if possible and sets it on @current_tag