generate header id the same as github wiki