Turn a string into a url-safe slug.