She became a social worker , eventually becoming a revered figure in Soweto , known as Ma K , giving advice to women 's groups , churches and schools and earning a salary from the social work department of the University of the Witwatersrand in Johannesburg .