In "Understanding Identity Statements" by Thomas Morris you will find a discussion of "$x = x$" in the context of the famous examples,
Hesperus is Phosphorus
Phosphorus is Phosphorus
Initially, the first example does not seem problematic since it seems to be conveying the information that two names denote a single object. The truth of the statement seemingly resides with an answer to the question of whether or not it is indeed the case that the two names denote a single object. But, the second example introduces a problem.
Presumably, one needs no account of truth beyond the form of the statement to claim that the statement is true. This is referred to as an analytical conception of truth, and is said to be based upon the meaning of words. Unfortunately, a semantic conception of truth is presumably based upon denotations given through a satisfaction mapping. And, while one can no more demonstrate the existence of zero than one can demonstrate a completed infinity, the received view of semantics in mathematics is Tarski's semantic conception of truth.
This means that "$x = x$" actually presents a problem in the foundation of mathematics that is masked by the first-order schema asserting the truth of every instance through the reflexive axiom. The truth being asserted here is through an analytical conception and not a semantic conception.
In Frege's original formulation of mathematical logic, any statement containing a non-denoting term was simply false. Hence, "$t = t$" could be a false statement if the term $t$ does not denote. The modern logic with this semantics is called negative free logic. One of the characteristics of negative free logic is the "identity of non-existents". If you read Frege's first paper on arithmetic, you will find that he invokes this property to define the number $0$. Using "$\neg ( x = x )$" as a concept with a vacuous extension, he had an "extension of a concept" that could be proven to be unique. From this as a base case, he developed his definition of cardinal numbers.
In free logic, one speaks of "existential import". The axioms of first order logic impose existential import in the quantifier rules. So, there is no explicit relationship between identity statements and the semantic interpretation of an existential quantifier (think about Henkin arguments and models built from constants). However, this relationship is restored by an axiom used by Tarski in his algebraization of first-order logic via cylindric algebras.
The axiom
$$
\forall x \forall y( x = y \leftrightarrow \exists z ( x = z \wedge z = y ) )
$$
serves to ensure that the correlate to identity for the algebraic presentation is transitive. As can be seen from the syntax, the truth of an identity statement is now bound to an existential quantifier. But, since cylindric algebras are motivated by first-order logic, an axiom corresponding to $\forall x ( x = x )$ will also be present.