-analyses_pattern now supports merging multiple subpatterns together, and ensures uniqueness