Convert strings into URL slugs.