ABS and ESP will be for the same thing, they both come on together so don't worry. You can have a go at putting the wires back together, try it, as long as the actual sensor isn't damaged and what not, should be ok to clear.