MYFACES-3487 [perf] cache unique ids generated by facelets (do not cache when isBuildingViewMetadata is set to true)