A Privacy Framework for Social Machines