move AbstractID from runtime to core
[java-api] use a GUID for the accumulators in methods count and collect