is based on clients machine or browser or else?
for example if logged in anonymously using chrome, same uid used in firefox on same machine?
from firebase documentation on anonymous authentication:
each time login user anonymously, new, unique user id generated, , firebase reference authenticated using these new credentials.
so each of browsers (in example) becomes different user.