get id property properly