Why is `@id` being exposed instead of the friend?