def _generate_scope_signature (scoped):
    """Returns the signature for the scope of a scoped Topic Maps
    construct.

    This function returns the signature for the scope only. No other
    properties of the scoped construct are taken into account.

    :param scoped: the scoped Topic Maps construct
    :type scoped: `Scoped`
    :rtype: frozenset

    """
    return frozenset(scoped.get_scope())