Added the rest of the merge tests.
Fixed the method definition merge ID to not include the parameter names.
Added a static Merge method to NamedScope so that it's children can get proper merging of accessibility and names.