Improve generation of interal user names resp. group display names

Improves limitations from old way. Uses UUIDs for users and for groups (still used as display name) sequential numbers if name already exists.
Old entries are not affected.