Resolve strings containing dotted names into the appropriate python object