All we had to do was call the cows, and they'd all file in and each go to their same stanchion every time. The only trouble would be with a new cow in teaching it where to go.
Some cows did have cliques. I doubt any actual dairy farmer ever thought cows were unintelligent.