Added proof of concept for cached id generation.