fix a bug found during ES6 conversion.  spec_id -> spec.id