function checkDistinctIdentifiersScope(scope) {
    const inputIdentifiersScope = scope.Input.map((input) => input.label.trim());
    const outputIdentifiersScope = scope.Output.map((output) => output.label.trim());
    let identifiersScope = inputIdentifiersScope.concat(outputIdentifiersScope);

    // Remove identifiers which have not been set yet (ie. empty strings)
    identifiersScope = identifiersScope.filter((identifer) => identifer != '');

    return (new Set(identifiersScope)).size === identifiersScope.length;
}
Checks if all the input/output labels in the scope are unique. Called by validate()
TODO: Replace with identifiers
@param {Scope} scope - the circuit