Programmable arrangement of metal ions in a cofacially stacked assembly of porphyrinoids toward molecular tags.