After switching to Xcode 9 on our CI extended UI tests started failing. It turned out that referencing elements from navigation bars set in storyboards by image name stopped working.
I'm not a fan of such approach in the first place, but there's no way to set accessibility identifier from Xcode's interface builder.
UIBarButtonItem does implement
UIAccessibilityIdentification but there's no way to change its values.