On #linux you can specify a /dev/serial/by-id that is persistent across reboots. That's unfortunately not a native option in #MacOS. It might be possible to mimic the linux behaviour with a custom Python script using the pyserial library to enumerate the serial ports and create /dev/serial/by-id links for you.