Method to check for equality of BasicSecNamePrincipal objects based on name.
boolean value if the passed in Object's name is identical to that of the current instance.