Added material::byId() method