A philosophical analysis of the concept of an externality in economic theory and policy