Create slugs of text or URLs, for use in e.g. URL path segments