I bet there's a word for that - using the more general term for something as a proper noun when the meaning is obvious from context. Like calling the largest nearby city just "The City". I figure it's the same general idea behind calling it "The Moon".
Luna and Sol: Root origins of "Solar System" and "Lunar eclipse" etc;