Refactor assembly_ids method for getting the ids for the user available assemblies