The user strings are
username+authority is a unique key constraint.
It is unlikely but possible that the same username will come from different authorities at some time, if the data is maintained over a period of years. E.g. a guest account registered by stellar this year is an email address. That email address could be reused and a different person with a the same email address may get an account through a new MIT guest service next year. They are able to get a new account from that service, since it's separate from the stellar guest service. This is a different person, and we know they are different because the authority is different. For guest accounts, it's likely that a new authority string will be used each year as the guest accounts are deactivated by the account managers. But the data in our application will be OK and consistent because we have sufficient data stored locally.
The nexus strings are