You have built dogs that know their own names, bark on request, and get older. There is one thing they are still very bad at.
Ask Python to print(rex), and instead of anything about Rex you get a line like <__main__.Dog object at 0x7f3a2b1c40>.
You met that line when you made your very first empty dog, and it made sense then — there really was nothing to say about him.
Rex has a name now. Python still will not tell you it.