Generate predicate names.
Only handle literals whose value is the text content of the element.