AFAIK, applications can name their Application Support folder whatever they want—there's no requirement that it be the name or bundle id of the app. Heck, there's also no requirement that it be stored in
~/Library/Application support—an app could save all configuration data to your Desktop if it wanted to. Most Mac developers try to follow conventions, but I don't think there's a "rule" you can follow.
That said, one application that is surprisingly successful at finding these folders is AppCleaner. Intended to help you remove leftover files from an app you want to delete, AppCleaner also displays a list of these files prior to deletion:
What I will sometimes do is drag an app into AppCleaner, make note of the paths, and click CANCEL instead of delete.