def _getBundleId(self):
ra = AppKit.NSRunningApplication<EOL>app = ra.runningApplicationWithProcessIdentifier_(<EOL>self._getPid())<EOL>return app.bundleIdentifier()<EOL>
Return the bundle ID of the application.