Generate id method on Ruby 1.8.

Because object_id and id went through some flux, it's best to tell 1.8
specifically what we mean.

Closes #127.