Remove layer by id.