As I read the sayings in the Gospel of Thomas, I have to constantly remind myself that they are not given in chronological order. Consider sayings 43 and 13.
(43) His disciples said to him, “Who are you, that you should say these things to us?” Jesus said “You do not realize who I am from what I say to you. ” [shortened]
In Saying 13 Jesus turns the question around on the disciples:
(13) Jesus said to his disciples, “Compare me to someone and tell me whom I am like.”
Simon Peter said to him, “You are like a righteous angel.”
Matthew said to him, “You are like a wise philosopher.”
Thomas said to him, “Master, my mouth is wholly incapable of saying whom you are like.”
Jesus said, “I am not your master. Because you have drunk, you have become intoxicated from the bubbling spring which I have measured out.”
And he took him and withdrew and told him three things. When Thomas returned to his companions, they asked him, “What did Jesus say to you?”
Thomas said to them, “If I tell you one of the things which he told me, you will pick up stones and throw them at me; a fire will come out of the stones and burn you up.”