Tag soiling sensor