Fixed fleet dialog joining, splitting and renaming

Incooperated fleetId into fleetdialog properties so join, rename and
splitting is possible and the detail display is correct.

More significant change, the fleetId function ensures that it returns a
unique value for each fleet.