Social cohesion in diverse communities