move htmlId to Base and rename to id