refactor($parse): Create idents lazily

Create the ident functions lazily as these are not used for filters not object literal properties
The generated functions that are not used can cause issues with some browsers

Closes #9131

Note: This may have cause some performance improvements
The expression text already exists (this.text in Parser), I guess the `identifier` flag and `token.fn || ` would be needed though.