Get objname of Touch Event from Nextion

Hi all,

I am forever having to re-work my YAML code everytime I make a minor change to the HMI layout as the page_id and component_id changes. Is there any way to get the Nextion to send the objName instead so this can be static?

[09:25:04][D][nextion:446]: Got touch event:
[09:25:04][D][nextion:447]:   page_id:      0
[09:25:04][D][nextion:448]:   component_id: 13
[09:25:04][D][nextion:449]:   event type:   PRESS
[09:25:05][D][nextion:446]: Got touch event:
[09:25:05][D][nextion:447]:   page_id:      0
[09:25:05][D][nextion:448]:   component_id: 13
[09:25:05][D][nextion:449]:   event type:   RELEASE

Or a different way to capture on_click events? This is my current:

  # Buttons on the Locks page
  - platform: nextion
    name: $device_name Lock 1 button
    page_id: 0
    component_id: 10
    on_click:
      - homeassistant.service:
          service: lock.unlock
          data:
            entity_id: lock.front_door_lock
    
  - platform: nextion
    name: $device_name Lock 2 button
    page_id: 0
    component_id: 15
    on_click:
      - homeassistant.service:
          service: lock.unlock
          data:
            entity_id: lock.office_door_lock