Social constraint as a determinant of attitudes to freedom