modified react_model to support a special ui attribute. no longer uses prefixes.