Always derive_from a specific version

Deriving from an unversioned ID works, but we need to track what actual version we came from. A side effect is that publishing lost the parent link, of the derived from URL did not have a version.