Remove unused `extract_id` method.

This method doesn't seem to be used, and gives errors with ruby 1.9/rails 3.

Can this be safely removed? Otherwise, how is it supposed to work?