Social networking for pervasive adaptation