from abc import ABCMeta, abstractproperty


class ReferencedClass(metaclass=ABCMeta):
    """
    A superclass for classes that can be referred to in the database.
    They have an identifier.
    """

    @abstractproperty
    def identifier(self):
        """
        Get the ID of the class, to which things will be associated in the database.
        This should be consistent for all instances of a particular class,
        It would be a class constant if I knew a way of making that abstract.
        :return: A string key to identify the particular class.
        :rtype: str
        """
        pass
@@ -1,45 +1,14 @@
-from abc import ABCMeta, abstractproperty
+import abc
 %0A%0A%0Ac
@@ -38,16 +38,20 @@
 taclass=
+abc.
 ABCMeta)
@@ -173,16 +173,20 @@
 %22%0A%0A    @
+abc.
 abstract

Update the imports for referenced_class