Dynamic Task Mapping Xcom Handling

I just had a quick question on the behavior of Task Mapping and how it handles xcoms. I know it consolidates all the return value xcoms into a single array to be accessed later, but i was wondering if it does that with any xcom that the tasks create? Example, i want each task to set an xcom with a single value representing the id of the item it was working on, and then be able to get that list of ids in a later task.