Yes, there is another ID (in the form of a “*” followed by a hex number).
You get it by using “print”, combined with a query that targets the item(s) you wish to later target for disabling/removal/setting/etc.
See this and this topic for examples.