code: func (r *Resolver) Resolve(t interface{}, id string) string {
  	if r.cmd.Flags().Changed("no-resolve") {
  		return id
  	}
  	if name, ok := r.cache[id]; ok {
  		return name
  	}
  	name := r.get(t, id)
  	r.cache[id] = name
  	return name
  }
docs: // Resolve will attempt to resolve an ID to a Name by querying the manager.
  // Results are stored into a cache.
  // If the `-n` flag is used in the command-line, resolution is disabled.