Moving conversion of pattern to unique key to transformer from reader