Discriminating Crystal Binding from the Atomic Trapping of a Core Electron at Energy Levels Shifted by Surface Relaxation or Nanosolid Formation