code: func (g *GPG) NameFromKey(ctx context.Context, id string) string {
  	ent := g.findEntity(id)
  	if ent == nil || ent.Identities == nil {
  		return ""
  	}
  	for name, id := range ent.Identities {
  		if id.UserId == nil {
  			return name
  		}
  		return id.UserId.Name
  	}
  	return ""
  }
docs: // NameFromKey is returns the name for this key