Implement cached id access