I don’t think Whale is Frankenstein though I could be wrong. All the other characters featured so far are from other worlds (Enchanted Forest, Wonderland or in Hook’s case Neverland. Not forgetting Midas who is from Greek myth). Frankenstein is from our world, science instead of magic.
I think The Doctor is just referring to Whale like how The Stranger referred to August