Electron attachment to molecules in a cluster environment