As sheep and shepard is mentioned many times in the Bible..
It has meaning in description.. And sheep do feel an affliliation
with their shepards and do recognize their face.. their voice..

As in John 10:11.
I am the Good Shepard !
The Good Shepard lays down His life on behalf of the sheep..
14: I am the Good Shepard , and I know thoses that ( are )
Mine, and I am known by the ( ones that are ) Mine..
15: Even as the Father knows Me, I also know the Father,
and I lay down My life for the sheep...

John 10: 27..
My sheep hear My voice , and I know them and they follow Me..
John 10:4..
And when he puts forth his own sheep, he goes in front of them,
and the sheep follow him because they know his voice.
5: But they never follow a stranger , but will flee from him,
because they do not know the voice of the strangers..