Spatializing partisan gerrymandering forensics: local measures and spatial specifications