Social science foundations of complex adaptive systems