Combine variables with text to make variable
You can concatenate variables like this:

{% set foo = 'foo' %}
{% set bar = 'bar' %}
{% set foobar = 'Hello' ~ foo ~ bar %}
{{ foobar }} #Outputs Hello foobar


It's explained by Brandon here.