You can add a string variable to the object and put the list "01,21,33,10" in it.
You can also create a global array to store all object IDs and their variables.
In some tasks, the first method will have advantages, for example, the behavior of the enemy AI where it will choose a behavioral option looking at its array.
Where it is necessary to select enemies from a large number with the desired variables and perform some action on them, I think it will be easier to quickly check the general motive.