If you are using After Effects menu commands IDs in your ExtendScript Scripts, David Torno has almost manically created a great reference that you can use. David notes that he has seen some scripts that compare the numbers against the text version of a menu command, while others are looking to decode what numbers go to which command.
Motivated by a forum post, David has created an After Effects Menu Command ID Reference – which he hand-typed all of the CC menu names out over the last few days, then processed them via a custom script to then pipe them through a loop to acquire each ID number.
Check out the After Effects Menu Command ID Reference over at ProVideoCoalition here.