This is another case where the Subcommands extension (mentioned in this thread) may be helpful.
In I6 you could write parse_name
logic to set a flag when a particular word was encountered. This didn’t make it into I7 (not in a user-visible way) and it’s one of the things I miss most.