normalised slug function