The dynamics of local knowledge systems and the production of novelties