Hide DevicePort constructors. New factory create methods added. Unique id of devicePort now depends on the device unique id and the devicePort id.