Bugfix/iss8884

Found another couple of tweaks to make while working on lcVCS... still to think about it what we should do about the fact that returning the abbrev id if name's not set. Round tripping that will cause problems.