Tag nanomagnets