Usually a seperate earth wire is run down to the pump as the power cable has a watertight plug which does not accommodate earthing. The earth wire gets fixed to one of the bolts securing the pump to the motor by means of a lug.