Update dump_methods.rb

capture IDs (to hopefully retain associations)