Added SMART_SLUG to append a number to the end of repeated slugs