code: func splitHostVirtualSwitchID(raw string) (string, string, error) {
  	s := strings.SplitN(raw, ":", 3)
  	if len(s) != 3 || s[0] != hostVirtualSwitchIDPrefix || s[1] == "" || s[2] == "" {
  		return "", "", fmt.Errorf("corrupt ID: %s", raw)
  	}
  	return s[1], s[2], nil
  }
docs: // splitHostVirtualSwitchID splits a vsphere_host_virtual_switch resource ID
  // into its counterparts: the prefix, the HostSystem ID, and the virtual switch
  // name.