Fixed issue where next method IDs are not properly genereated...

...when there is a @rax:id for the method but there is no @id to be
found.