code: func (x *XC) NameFromKey(ctx context.Context, id string) string {
  	if key := x.pubring.Get(id); key != nil {
  		return key.Identity.Name
  	}
  	if key := x.secring.Get(id); key != nil {
  		return key.PublicKey.Identity.Name
  	}
  	return id
  }
docs: // NameFromKey extracts the name from a key