refactor($parse): Create idents lazily

Create the ident functions lazily as these are not
used for filters not object literal properties

Closes #9131