Construct bh-style bem predicate strings and generate bh-template.