Create persist_attribute

PERSIST_ATTRIBUTE dynamically.