add logging messages for id guessing