Change message id format in State model