Extract string constants for element names