Generates a unique slug for use as a drop-in replacement for ids.