Documentation says ##STOREID## only works inside <ac:layoutarea id="ShopCartItem">
If ##STORENAME## works in any context, I think ##STOREID## should too. It would be helpful for solving technical issues with shared themes, especially because the Store ID is less volatile than the Store Name.
##SHOW[StoreID]## didn't seem to work either. I'm not sure in which context the StoreID variable is set.