Set parent id and parent provider name.