Note: App bundle name can be found by exploring inside the App's Package Contents. Access the Package Contents by right-clicking the App's executable in the Applications directory (usually at /Applications), and then choosing "Show Package Contents. Inside the Package, look inside the Contents/Info.plist file to see the Bundle Identifier.
This can also be accomplished by entering the following in a terminal:
osascript -e 'id of app "slack"'
This would return the bundle idea of the application Slack as com.tinyspeck.slackmacgap
Suggested edit for: https://github.com/dwighthouse/unofficial-talonvoice-docs/blob/master/docs/Context.md
This can also be accomplished by entering the following in a terminal:
osascript -e 'id of app "slack"'
This would return the bundle idea of the application Slack ascom.tinyspeck.slackmacgap