Tagged dyeing