The apostle John seemed to recognize the light and referenced the light as being a person.
See this...In the beginning the Word already existed. He was with God, and he was God. He was in the beginning with God. He created everything there is. Nothing exists that he didn't make. Life itself was in him, and this life gives light to everyone. The light shines through the darkness, and the darkness can never extinguish it.
God sent John the Baptist to tell everyone about the light so that everyone might believe because of his testimony. John himself was not the light; he was only a witness to the light. The one who is the true light, who gives light to everyone, was going to come into the world. John 1:1-9
John is announcing that Jesus is the Light and he was coming into the world. Jesus' teaching through the parables also points us to Light and its power to bring us out of hiddenness (darkness).
Parable of the Lamp
21 Then Jesus asked them, “Would anyone light a lamp and then put it under a basket or under a bed? Of course not! A lamp is placed on a stand, where its light will shine. 22 For everything that is hidden will eventually be brought into the open, and every secret will be brought to light. 23 Anyone with ears to hear should listen and understand.”24 Then he added, “Pay close attention to what you hear. The closer you listen, the more understanding you will be given—and you will receive even more. 25 To those who listen to my teaching, more understanding will be given. But for those who are not listening, even what little understanding they have will be taken away from them.”