code: def identity(obj):
      
      if hasattr(obj, '_concurrencymeta'):
          return mark_safe("{0},{1}".format(unlocalize(obj.pk),
                                            get_revision_of_object(obj)))
      else:
          return mark_safe(unlocalize(obj.pk))
docs: returns a string representing "<pk>,<version>" of the passed object