Describe how teams are referenced and how the name matcher works.