CSHARP-958: Fix AssignId when nominal type is an interface.