def METHOD_NAME(self, dirID):
    """Get directory name by directory ID"""
    result = self.getDirectoryPath(dirID)
    if not result["OK"]:
        return result
    return S_OK(os.path.basename(result["Value"]))