Only allowed characters in generated ids.