populate "profileType" field on first complex field.
Merge pull request #171 from CruGlobal/feat/autoProfileCheck

populate "profileType" field on first complex field.