It's unique to Number AND name. For example, (unlikely) but I could be Lige#1000 and you could be Futamaru#1000, where as if my alias was also Futamaru, you would be same as previous example and I'd get Futamaru#1001 or so. (It doesn't go in order, it's random, but just for example sake)