Probably would help to provide more detail re what exactly you are trying to do as answer will be specific to what's going on.
Apple bundle IDs will be along the lines of "com.apple.appnamehere". Chrome is "com.google.Chrome". VLC is "org.videolan.vlc". TurboTax is year dependent: 2024 is "com.intuit.turbotax.2024".
And so on.
So need to get specific if want an answer, as right now, answer is "depends".
Can get bundle ID from an app via either of these:
Code:
% mdls -name kMDItemCFBundleIdentifier /Applications/Google\ Chrome.app
kMDItemCFBundleIdentifier = "com.google.Chrome"
% osascript -e 'id of app "Google Chrome"'
com.google.Chrome
%
Or if Xcode is installed, can view the contents of AppName.app/Contents/Info.plist in Xcode and scroll to bundle ID entry.
Apps have their IDs, extension have their own, subcomponents (eg. Google Updater process) can have their own.