Also to note, Even though Spell IDs don't work, Item IDs do. There are also other ways to use items. You can refer to the inventory slot they're equipped in for equipped items and you can also refer to Bag & Slot IDs.