He knows that Anakin is Darth Vader, because he saw the Emperor refer to Anakin with that name on the security holograms. Darth Vader had spread terror across the universe after the Jedi purge, so i think Obi-Wan would of atleast heard his name mentioned at some point after Episode III - or sensed him through the force as some of you said