add code to handle lowercase 'id' vs 'Id' when object is created