How did Haley's Comet get its name?

It was named for its discoverer: Edmund Halley