fn renamed_key_name(old: &str, new_segment: &str) -> String
The post-rename value of a (possibly compound) key name: for a member key "Type.method", replace the segment after the last .; for a bare name, the new name as-is.
"Type.method"
.