Added hostSlotID stat, exported getHostID() function