Add method GetNameById to DataBase