Only valid characters in generated ids.