migrated functionality to Spreadsheet::getNameForID