Pattern-based recognition of heparin contaminants by an array of self-assembling fluorescent receptors.