Automatic tagging of part to main assembly

I am looking for an automatic way of tagging the part to the  main assembly. Each part has to be tagged to the main assembly using ID number. 

Part can be used on multiple locations and can have tag number like ID 1-2 which means the part is tagged to location 1 & 2 on the main assembly.

Tagging is used for  manufacturing side for assembly purpose.

Is there a way to do it? I am thinking of using EPDM data card and assign the ID to the variable but it is not automatic but manual.

SolidworksSolidworks Pdm enterprise Pdm