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