@bio great question! That’s not something I have tried. I’m guessing that you will need to set the UUID manually instead of using the name or title field unfortunately, or override the UUID method that generates the Unique ID, but I would need to look more into it.
If that is an issue, you can set a slug automatically with the method used in version 3. The code may look a bit different, but have the same implementation as far as features go. Here is a link in the version 3 docs on how to do that: Slug System - Strapi Developer Documentation