SA economist whose work went global wrote with a deep idealism