changed ids from manual impl. to impl. with BasePersistable