Sockets for modular characters?

Hello,

I have a modular character. If I attach sockets to its skeleton, my intuition is that they are present in the skeleton regardless of which mesh is using this skeleton.

But when I try to use nodes like get socket bone name or any other node for sockets, it has in brackets the mesh that it should be attached to (head, torso, legs, etc.). Does this mean that if I change the torso mesh for another one at runtime I will lose the sockets?

Thanks.