Set slug on save.