Correctly implemented attrs template fragment caching.
Popped id out of attrs prior to caching.