<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def uri(self):
 """Cache to prevent recalculating URI unless necessary"""

        if self.__modified:
            self.__uri = self.__parse_uri()

        return self.__uri