generate slug for categories