Persistence in complex systems