The molecular switch that activates the cell wall anchoring step of pilus assembly in gram-positive bacteria