def object_to_id(self, obj):
try:<EOL><INDENT>return obj.address<EOL><DEDENT>except AttributeError:<EOL><INDENT>return None<EOL><DEDENT>
Returns the 'Address' value of the given object if it exists, else returns None