This handles the case where the input feature has no `properties` member, but you might want to join with external properties (using the top-level `id`, which doesn’t require the input feature to have a `properties` member).