We typically refer to "samples names" as "sample IDs". Also, it may be clearer to state something like: "Could not find sample ID '%s' in the mapping file." that way the user will know which sample ID could not be found.