Dislocation trapping in epitaxial islands, escavated trenches and pits: nanoscale laboratories for simulations and experiments