Recursively call GetElementName for generic arguments. Fixes #16.