Prevent illegal characters in identity name

This prevents users corrupting other directories as pointed out in #735

Created by  finchie  on November 26, 2022
QKBU6HCDGET7POGV3FVZMEAOFHWNNQSMAIPSGGCMFL5AGHDB5PUAC
In channels
main
Change contents