Megalosaurus was one of the first dinosaurs ever named, yet its true identity has remained surprisingly hard to pin down.