A name-change operation

Another allowable operation that the programmer might define would be:

For example when Suzie Smith marries Tom Jones, she might elect to thereafter be known as:

In this case, there would be a need to modify the object that represents her to reflect her newly-elected surname.

(Or perhaps Tom Jones might elect to thereafter be known as Tom Smith or Tom Jones-Smith, in which case it would be necessary to modify the object that represents him.)