code: func (id Identity) Kind() Kind {
  	chunks := strings.SplitN(string(id), ":", 2)
  	if len(chunks) != 2 {
  		return Anonymous
  	}
  	return Kind(chunks[0])
  }
docs: // Kind returns identity kind. If identity string is invalid returns Anonymous.