Yes, I see where you are coming from now.
However, as gray1404 validly points out, there is no requirement for Mrs Smiths friend to carry or show ID to corroborate her use of the railcard.
If the guard simply notices she is carrying other ID in a different name, that is somewhat different...