Recent scholarship, especially among literary critics, has noted how the exhortation to "identify" and the theme of recognition in Genesis 37:32-33 also appears in 38:25-26, in the story of Judah and Tamar.
The envy of his brothers may also have stemmed from the fact that Joseph was the son of Rachel, Jacob's first love.