Whisk together flour, baking powder, and salt in a large bowl. Beat butter and granulated sugar with a mixer on medium-high speed until pale and fluffy. Beat in egg and vanilla. Reduce speed to low. Add flour mixture, ground cinnamon, ginger, allspice, and pepper and beat until combined. Proceed with variations: