fix Property#serial? for active-record 4.2 as #primary accessor is no more