fix Referent.add_identifier

think it got corrupted in the rails4 merge somehow. now with test.