code: func (r *IDResolver) Resolve(ctx context.Context, t interface{}, id string) (string, error) {
  	if r.noResolve {
  		return id, nil
  	}
  	if name, ok := r.cache[id]; ok {
  		return name, nil
  	}
  	name, err := r.get(ctx, t, id)
  	if err != nil {
  		return "", err
  	}
  	r.cache[id] = name
  	return name, nil
  }
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.