HTML & XHTML, The Definitive Guide says on page #400:
The optional name attribute for the <frame> tag labels that frame for later reference by a target attribute for the anchor (<a>
tag and the <form> tag. This way, you can alter the contents of a frame using a hyperlink in another frame. Otherwise, like normal browser windows, linked documents replace the contents of the source frame.
Similarly, the id attribute uniquely identifies a frame, but the browsers do not support its use for target redirection, even though they do support id's use as a hyperlink target in many other HTML and XHTML tags.
Hope it helps....