When his parents inadvertently left him behind at the age of 12 and they went back to find him they found him in the temple. In response to their concern for him not going with them he replied that he had to be about his Father’s business. Sounds to me like he knew who he was.
And what he came to do.