Simplify slug function