fix reference to driver in DuplicateKey methods in Idiorm