Text Ref from DWG into family

I have a revit model with all the families in the right place and I have dwg plans that match. In the dwgs the light fittings have a ref each light has a different one over 10,000 lights in total. I wish to get that ref in a parameter in each fitting. Can anyone suggest something they know of that could help.

Would be vert much appreciated.