[Fixes #104] Record examples considers a defined resource_id

Considers custom resource_ids during example recording.