Another fix where next method IDs are not properly genereated...

really just missed a case in the previous fix, where a method is
defined in a resource type.
Merge pull request #223 from RackerWilliams/no_method_id2

Another fix where next method IDs are not properly genereated...