Self-Recognition of 3D Porous Frameworks: Fourfold Diamondoid or Threefold Cuboidal Interpenetrating Nets Formed by Varying Pillar Motifs