applyCategory - How can I specify a unique identifier for each document in the input table?