Knowledge, morality and affiliation in social interaction