If I remember correctly, going to a URL on wowhead.com and searching a spell and finding it, has the spell ID on the end of the URL.
I.E.
http://www.wowhead.com/spell=133 Fireball Rank 1's SpellID is 133
http://www.wowhead.com/spell=42891 Pyroblast Rank 12's is 42891