A bioinspired ionic liquid tagged cobalt-salophen complex for nonenzymatic detection of glucose.