Consistently uppercase all references now that specref is case-insensitive

/cc @RubenVerborgh