To understand the event "A string on Joel's guitar broke.  He replaced it with a new one.", it is important to know that The word "it" most likely refers to the broken guitar string, not the guitar itself