Refactors 'uid' to 'stored' and other fixes
AME-10753 resolves a number of issues around persistence
AME-10512 Refactor FRAIdentityDatabase to simplify state change observation