private Set<String> getAllIdentifierNames(Model model) {
        Set<String> identifierNames = new HashSet<>();
        for (ResourceShape resource : model.getResourceShapes()) {
            identifierNames.addAll(resource.getIdentifiers().keySet());
        }
        return identifierNames;
    }
Validates if a member matches a resource identifier without the
proper configuration of a `@references` trait.
smithy-model/src/main/java/software/amazon/smithy/model/validation/validators/MemberShouldReferenceResourceValidator.java