Extract attribute and event names to variables for readability