Store `LOOKUP_SEP.join(lookup_parts[0:i])` in a var?