<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def attribute_value(self, doc: Document, attribute_name: str):
 """ Access data using attribute name rather than the numeric indices Returns: the value for the attribute """

        return doc.cdr_document.get(self.header_translation_table[attribute_name])