function TraitSpliceable(trait, view, getId) {
            this.trait = trait;
            this.view = view;
            this.getId = getId;
        }
The TraitSpliceable is used as a util class to be able
to preserve traits across splice calls, given an identity
provider.