fixed bug where method types are reported as id

This fixes issue #479