[PATCH v6 1/3] sunxi: board: extract creating a unique sid into a helper function