There are many ways to identify the bundle ID of any macOS app using the Mac itself.
The following steps will help you to identify the bundle ID of a Finder app using the Terminal. Replace the app name written in step 02 with the exact words of your desired app name.
Step 01: Open Terminal on your Mac.
Step 02: Run the following command:
osascript -e 'id of app "Finder"'
Hope this helps,
Thanks & Regards
Mandar Apte