Preparing samples for identification