Return message id on success.