make_by_vars function

Internal tmap function to create by variables (used for faceting)