Similar Items: A Theory of Formal Choreographic Languages