slugify realm names to be more lenient matching