No, this is not required. There are advantages to doing so, to make a 100% positive identification of the person easy (and, if he moves away and people lose track of him, it's easier to track him down with an SSN) but it is not a legal requirement; the will would be valid without this.