Not easy but I believe it will be a barrier for real/mass adoption.
My first idea would be to have a single specific service where you register your handle. From there, you sign in to instances. You don't/can't register within instances, only sign in.
Existing collisions will be messy to deal with but it would be much much better in the long run