NS|LAD: prevent element definition blocks from being evaluated when checking that names are unique