PLINK-130 move Realm and Tier to sample package, introduce annotation to support generic partitions