code: func saveHostVirtualSwitchID(d *schema.ResourceData, hsID, name string) {
  	d.SetId(fmt.Sprintf("%s:%s:%s", hostVirtualSwitchIDPrefix, hsID, name))
  }
docs: // saveHostVirtualSwitchID sets a special ID for a host virtual switch,
  // composed of the MOID for the concerned HostSystem and the virtual switch's
  // key.