Refactors layout ids to use underscores.