ids core_profiles structure and init function