Industrial districts as complex adaptive systems: Agent-based models of emergent phenomena