I often end up scanning the same ship 3+ times when flying around in a nav point looking for bounties because I can't tell if I already scanned it or not. The pilot's name should appear next to their ship after scanning said ship, even if you no longer have the ship targeted.