Collectively autocatalytic sets