If we have screen names with the same prefix (e.g. sim1 and sim10), attach to the right one by using the full <pid>.<name> in attach rather than just <name>

It turns out that the screen utility will attach to the first screen which has a partial match for the name.
So "screen -x sim1" can attach to a screen named sim10 even if sim1 exists