You can also inject a new attribute in a node material by using the same technic than described here: Thin instances, node material and custom attribute
You can also inject a new attribute in a node material by using the same technic than described here: Thin instances, node material and custom attribute