Magnetic pole identification pen