Check if two objects have the same BEID scope
identicalScopes(x, y)
x
the object to test
y
A logical indicating if the 2 scopes are identical