add toNameForEncryption to utilities as expected by avetmiss