<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def table_name(self):
 """Get slice name. In case of 2D return cube name. In case of 3D, return the combination of the cube name with the label of the corresponding slice (nth label of the 0th dimension). """

        if self._cube.ndim < 3 and not self.ca_as_0th:
            return None

        title = self._cube.name
        table_name = self._cube.labels()[0][self._index]
        return "%s: %s" % (title, table_name)