public function getSourceIdFor(int $targetId): int
    {
        if (!array_key_exists($targetId, $this->mapInverse)) {
            throw new \RuntimeException('Not mapped');
        }
        return $this->mapInverse[$targetId];
    }