Handles ids on headers