minor: revert DId.unapply

not needed, as it duplicates DRef.IsId.unapply
add overloads for DRef.apply

add overloads for DLong and Long, so that one can avoid DRef(DId(long))