Return tuple with prepared __include__ and __exclude__ attributes.

        :type attributes: dict
        :rtype: tuple

def get_prepared_include_exclude(attributes):
        """Return tuple with prepared __include__ and __exclude__ attributes.

        :type attributes: dict
        :rtype: tuple
        """
        attrs = dict()
        for attr in ('__include__', '__exclude__'):
            attrs[attr] = tuple([item.name for item in
                                 attributes.get(attr, tuple())])
        return attrs['__include__'], attrs['__exclude__']