An Immunologically Inspired Self-Set For Sensor Networks