applescript – How to find programs Application Support folder

I'm wondering if there is a way to get the name of a Program Application Support folder, similar to the identity of an application.

osascript -e "id of the application" Sublime Text "& # 39;

gives you com.sublimetext.3 which is the name of the Caches folder but the name of the Application Support folder is Sublime Text 3

Is there a way to do with osascript or something else?