Pecuniary externalities and the localized generation of technological knowledge