Cache ObjectIdentifier

No need to re-create it for every single iteration.
Sort deps