Last year, I wrote a script that shows a device chooser when sending an ADB command. I never remember which phone has which serial number so I tweaked it a bit to add model names. I wrote about it here 👉
https://zarah.dev/2024/02/02/adb-model.html.
https://zarah.dev/2024/02/02/adb-model.html.