Active Record adapter typo fix

`self` should be `self.id`