use separate func for identityTypeDef

Bug: T367120

Merge request reports

Loading