The 3 are as described - there is another one from the sidelights - this causes the bulb to dim so it doesn't blind you at night.
Get a meter or test bulb and connect one side to a part of the car's bodywork.
Switch on ignition and sidelights.
Probe all 4 connections with the other end of the test bulb or meter.
The connection that doesn't read 12v or cause the test bulb to light is ground / 0v.
Switch off the sidelights and re-check - the connection that was 12v before and is now dead is the sidelight connection.
Switch off the ignition and re-check - the connection that has just gone from 12v to zero is the ignition.
And the one that is still 12v is the permanent 12v from the battery (and is routed via fuse 8 according to the drawing).
Hope that helps.