add the possibility to define a custom slugify function