code: func (r ReferenceName) Short() string {
  	s := string(r)
  	res := s
  	for _, format := range RefRevParseRules {
  		_, err := fmt.Sscanf(s, format, &res)
  		if err == nil {
  			continue
  		}
  	}
  
  	return res
  }
docs: // Short returns the short name of a ReferenceName