Generating page specific classes in WordPress templates to keep code DRY and extensible