code: func MakeIdentity(identity string) (Identity, error) {
  	id := Identity(identity)
  	if err := id.Validate(); err != nil {
  		return "", err
  	}
  	return id, nil
  }
docs: // MakeIdentity ensures 'identity' string looks like a valid identity and
  // returns it as Identity value.