public function reassignToUserId()
    {
        if (!is_null($this->reassignToUserIdCache)) {
            return $this->reassignToUserIdCache;
        }

        //If there is a configurated username for reassignment, use it.
        if (defined('AD_BULK_IMPORT_REASSIGN_USERNAME') && $userId = $this->userNameExists(AD_BULK_IMPORT_REASSIGN_USERNAME)) {
            if ($userId) {
                return $userId;
            }
        }

        // Above wasen't defined. Get first user id.
        $user = $this->db->get_col("SELECT ID FROM " . $this->db->users . " LIMIT 1");
        if (is_array($user) && !empty($user)) {
            $userId = (int)array_pop($user);
        }

        // Store to cache
        return $this->reassignToUserIdCache = $userId;

        return false;
    }