From wall:
Black = neutral
Red = live
The above holds true unless one of the wires has a different coloured sheathing around it, in which case it is probably a live spur.
Earth - there is probably a terminal clamp on the casing somewhere, if not, slide some earth sleeving on to the central...