The historical background to the migratory labour system in South Africa