Added new identity_resource field to templates. Updated base store to sync better.