Similar Items: Technology and Empirical Dynamics of Specialization in Open Economies