Paired-associate learning as a correlate of pattern goodness