This question already has an answer here:
In Deep Breath (series 8) the Doctor tries to remember a previous incident with
clockwork androids stealing human body parts to repair machinery.
Yet he can't. During another conversation with the episode's main "villain", he finally remembers a few parts of his own history.
He's looking at the backside of some kind of fuse and reads the name
SS Marie Antoinette
and shortly later combines this with the name of the supposed sister ship:
SS Madame de Pompadour
The actual event he remembers has been depicted in an episode of series 1 (2005).
However, as far as I remember, at the end of The Girl in the Fireplace the Doctor just kept wondering why the droids wanted Madame de Pompadour specifically. As far as I know it's only shown to the audience that the ship's hull has Madame de Pompadour written on its flank, essentially revealing its name.
So did I just miss the Doctor noticing the name? Or is this a plot hole?