Tag polyquaternary ammonium polymer