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