Just sounds like a poor connection (eg dirt) between the plug and socket. Because of the large current flowing to dishwasher (big heater) any small resistance in the supply wil generate lots of heat. In a confined space like a plug and socket this can eventually cause damage. The plug will have a 13A fuse but currents less than this can still cause problems in the wrong place.
I suggest:
1) use good quality plugs and sockets from a reputable manufacturer
2) occasionally remove every plug from its socket to:
-a) inspect the pins
-b) cause the contacts to rub against each other and clean themselves
I wonder if the previous 'unidentified electrical problem' was caused by the same thing. Perhaps the supply to the dishwasher dropped so much when the heater came on that the electronics/timer stopped working.
PS: Since 2006 *all* new wiring (including fixed) should be brown for live and blue for neutral in accordance with IEC60446:
http://en.wikipedia.org/wiki/IEC_60446
http://www.iee.org/Publish/WireRegs/...ed_colours.pdf