Added formatting rules for ids