The revelation of identity unfolds in two stages at the Capulet ball (1.5), each charged with dramatic irony.
Romeo, masked, sees Juliet and is instantly smitten. He asks a servingman, then overhears the Nurse call her "Juliet" and "the daughter of the house." His soliloquy ("O, she doth teach the torches to burn bright!") follows—he knows she's a Capulet before speaking to her.
Juliet, intrigued by the "gentleman" who kissed her, sends the Nurse to discover his name. The Nurse returns: "His name is Romeo, and a Montague, / The only son of your great enemy." Juliet's response—"My only love sprung from my only hate!"—captures the tragic irony.
This asymmetrical knowledge (Romeo knows first) shapes their balcony scene (2.2): Romeo speaks openly; Juliet is cautious, then reciprocal. Their secret marriage (2.6) and the ensuing tragedy all stem from this moment of crossed identities.