private static boolean isImplicitIdAttribute(@NotNull XmlAttribute attribute) {
    XmlTag parent = attribute.getParent();
    if (parent != null) {
      return attribute.equals(IdRefReference.getImplicitIdRefAttr(parent));
    }
    return false;
  }
private static boolean isImplicitIdAttribute(@NotNull XmlAttribute attribute)