function hInPort = li_porthdlfromid(xPortId)
Returns the port handle for port signal identifier <xPortId>. If <xPortId> is a handle itself, it will be returned unchanged. If <xPortId> identifies a bus signal member, the respective port handle containing that bus member is returned.