Simplify getIdentities()
fillIdentities uses getIdentities internally and is marked deprecated