tpt++: add identifier constants based on the display name to the lua api