Are the virtual pins for two devices unique or the same?

As long as each device has its own identifying AUTH code (even if in same project), then yes they should be unique to each device and possible to have a V5 on both devices, each doing different things.

I have a bidirectional Bridge example that might help with your further understanding…