Magnetism is a force which attract or repel a magnetic object like iron.
Magnetism is not a major characteristic used to identify minerals, because, every mineral do not have magnetic properties in it. Only few minerals like Iron-nickel have it and thus, it is not possible to identify a mineral using magnetism.