security (minor): In BasicIdentityStorage, use the simpler getPrefix to get the identityName.