public static function create($collection, $id, $database = null)
    {
        $ref = [
            static::$refKey => $collection,
            static::$idKey => $id
        ];

        if ($database !== null) {
            $ref['$db'] = $database;
        }

        return $ref;
    }