Add `id` named attribute to helper functions