Added functionality to generate identities for methods referencing generic type parameters found on its declared type.