Im all new to this so hope im doing it correct..

I have a e60 520d that i purchased from a friend at work, He had trouble with a fella that lives down his road
To cut a long story short he had fuel put on the windscreen on the drivers side and set alight.
So the loom that runs along side the drivers side under the bonnet has been melted.

1, Does anyone know what the loom is called/part as i would take it it needs to be replaced
2,He did join it up with another loom from another 520d but there are loads of faults showing,winder wipers wont work and it wont change gear!! it starts fine and all lights work!!

Just wondered if anyone had any ideas on steps to take.

Thanks in advance