Add id property and getId method to StaticEntity class