Esplain how the north pole of the bar magnet got its name?

http://en.wikipedia.org/wiki/Magnet#North-south_pole_designation_and_the_Earth.27s_magnetic_field