splitIntoParentAndLeaf

Splits a fully-qualified name (e.g. "outer~inner~field") into:

parent = "outer~inner"
leaf = "field"

If there's no PARENT_CHILD_SEPARATOR, then it's top-level:

parent = ""
leaf = "outer"