Text this: Finite element description of thin membranes for piezomaterials