The easiest way is to use another magnet that is already marked. The
North pole of the marked magnet will be attracted to the South pole of
the unmarked magnet.
We can identify poles of a magnet be keeping it close to the compass and see whether the side of a magnet is repelled by the north pole of the compass or attracted.If attracted then it is the south pole of magnet and if repelled it is the north pole of the magnet
Attraction is the force of pull and repulsion is the force of push .to identify the poles of a magnet we can keep the magnet close to the compass and see if the side is pushed or pulled , in other words attracted or repelled . If it is attracted then it is the south pole ...if it is repelled it is the north pole