Bioassay and biomolecular identification, sorting, and collection methods using magnetic microspheres