A methodology for distinguishing copying and reconstruction in cultural transmission episodes